<div id="widget-<%= id %>" class="widget">
    <div class="header">
        <div class="title"><%= title %></div>
        <ul class="actions">
            <li class="export"><input id="export-<%= id %>" type="checkbox" value="1"<%= exported ? ' checked="checked"' : '' %> /><label for="export-<%= id %>">Can be exported to CSV</label></li>
            <li class="save"><a href="#" title="Save">Save</a></li>
            <li class="cancel"><a href="#" title="Reset">Reset</a></li>
        </ul>
    </div>
    <div class="widget-form">
        <p>Click image for change</p>
        <a href="#" title="Click to change image"><%= content.indexOf('<img') != -1 ? content : '<img src="'+content+'" alt="'+content+'" />' %></a>
    </div>
</div>